﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EtlComm;
using StructureMap;

namespace EtlComm
{
    public static class LogFactory 
    {
        public static T CreateLog<T>() where T : ILog, new()
        {
            //#if DEBUG
            //    return new ConsoleLog();
            //#else
            //    return new FileLog();
            //#endif
            return ObjectFactory.GetInstance<T>();
        }

    }
}
